package com.ibp.form;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.springframework.format.annotation.DateTimeFormat;

public class IbpEventLogDataForm {

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date dateTime; // 日期时间

	private String ymd; // 日期

	private String hms; // 时分秒

	private String hh; // 时

	private String mm; // 分
	
	@NotNull
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime ;
	
	@NotNull
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime ;
	
	private String tradeCode ;
	
	private String differTradeCode ;

	public Date getDateTime() {
		return dateTime;
	}

	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}

	public String getYmd() {
		return ymd;
	}

	public void setYmd(String ymd) {
		this.ymd = ymd;
	}

	public String getHms() {
		return hms;
	}

	public void setHms(String hms) {
		this.hms = hms;
	}

	public String getHh() {
		return hh;
	}

	public void setHh(String hh) {
		this.hh = hh;
	}

	public String getMm() {
		return mm;
	}

	public void setMm(String mm) {
		this.mm = mm;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getTradeCode() {
		return tradeCode;
	}

	public void setTradeCode(String tradeCode) {
		this.tradeCode = tradeCode;
	}

	public String getDifferTradeCode() {
		return differTradeCode;
	}

	public void setDifferTradeCode(String differTradeCode) {
		this.differTradeCode = differTradeCode;
	}

	@Override
	public String toString() {
		return "IbpEventLogDataForm [dateTime=" + dateTime + ", ymd=" + ymd
				+ ", hms=" + hms + ", hh=" + hh + ", mm=" + mm + ", startTime="
				+ startTime + ", endTime=" + endTime + ", tradeCode="
				+ tradeCode + ", differTradeCode=" + differTradeCode + "]";
	} 
	
	
}
